#include "MineDesign3D/IWork.hpp"

#include "MineDesign3D/Works.hpp"
namespace MineDesign3D{
IWork::ptr CreateAddWork(Model* pTarget,const Boxel& Add)
{
	return IWork::ptr(new AddWork(pTarget,Add));
}
IWork::ptr CreateDeleteWork(Model* pTarget,int x,int y,int z)
{
	return IWork::ptr(new DeleteWork(pTarget,x,y,z));
}
IWork::ptr CreateSwapWork(Model* pTarget,int x,int y,int z,int NewID)
{
	return IWork::ptr(new SwapWork(pTarget,x,y,z,NewID));
}
IWork::ptr CreateReplaceWork(Model* pTarget,int oldID,int newID)
{
	return IWork::ptr(new ReplaceWork(pTarget,oldID,newID));
}
IWork::ptr CreateMoveWork(Model* pTarget,int x,int y,int z)
{
	return IWork::ptr(new MoveWork(pTarget,x,y,z));
}
}//MineDesign3D
